<?php
/**
 * Created by PhpStorm.
 * User: 火柴
 * Date: 2016/5/28
 * GitHub: https://github.com/huaiguoguo
 * Email: 290559038@qq.com
 * Time: 20:35
 */

use yii\widgets\ActiveForm;

?>


<div class="content_wrap">
    <span class="content_title">修改密码</span>

    <div class="content_from">
        <?php $form = ActiveForm::begin(['id' => 'userAdressFrom']); ?>
        <ul>
            <li>
                <?php
                    echo $form->field($user, 'password')
                    ->passwordInput(['autofocus' => true, 'placeholder' => '请输入当前使用的登录密码'])
                    ->label('当前密码：', ['class' => 'item_title'])
                ?>
            </li>
            <li>

                <?php
                    echo $form->field($user, 'new_password')
                    ->passwordInput(['autofocus' => true, 'placeholder' => '请输入密码 6-10个字符'])
                    ->label('新密码：', ['class' => 'item_title'])
                ?>
            </li>
            <li>
                <?php
                    echo $form->field($user, 're_password')
                    ->passwordInput(['autofocus' => true, 'placeholder' => '请再次输入新密码'])
                    ->label('重复新密码：', ['class' => 'item_title'])
                ?>
            </li>
            <li>
                <button class="btn submit">保存</button>
            </li>
        </ul>
        <?php ActiveForm::end(); ?>
    </div>
</div>
<span class="clear"></span>
